{% include "public/header.html"%}
<!-- content -->

<div class="content">
    <div class="now">您现在的位置：<a href="/">首页</a>
        {% autoescape false %}
        {{position}}
        {% endautoescape %}
    </div>
    <div class="danye_left">
        <div class="danye_help">
            <div class="danye_tt"  style="background:#00A8E8; color:#fff;">资讯中心</div>
            <div class="danye_list">
                <ul>
                    {% for v in class %}
                    <li><a href="/alist/{{v.id}}" title="{{v.catname}}">{{v.catname}}</a></li>
                   {% endfor %}
                </ul>
            </div>
        </div>

    </div>
    <div class="danye_right">

        <div class="page_tt">{{catname}}</div>
        <ul class="wenzhang_list">
            {% for v in data %}
            <li>
                <a href="/article/{{v.id}}" title="{{v.name}}">{{v.name}}</a>
                <span class="fl c888">(浏览量：{{v.clicknum}})</span>
                <span class="fr">{{v.atime|date('Y-m-d H:i:s')}}</span>
                <div class="clear"></div>
            </li>
            {% endfor %}
        </ul>
        <div class="mat15" style="text-align: center;margin:20px 0px">
            <style>
                ul.pagination {
                    display: inline-block;
                }
                .pagination li {
                    padding:2px 10px;
                    float:left;
                    text-align: center;
                    margin:0 5px;
                    background:#cccccc;
                }
                .pagination .active {
                    background:#FF922a;

                }
            </style>

            {% autoescape false %}
            {{fpage}}
            {% endautoescape %}

        </div>

    </div>


    <!-- footer -->

    {% include "public/footer.html"%}